package com.uzai.console.vo.mini.miniorderservice;

import com.uzai.console.vo.mini.miniorder.MiniOrderVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @author liuqi
 * @date 2021年09月01日 19:21
 */
@ApiModel("小程序团购订单售后信息")
@Data
public class MiniOrderServiceVo {
    @ApiModelProperty("主键id")
    private Long id;

    @ApiModelProperty("订单Id")
    private Long orderId;

    @ApiModelProperty("父订单号")
    private String parentOrderNo;

    @ApiModelProperty("子订单号")
    private String childOrderNo;

    @ApiModelProperty("来源（0-官方god平台；1-各运营商自定义）")
    private Integer source;

    @ApiModelProperty("售后类型: 1: 仅退款, 2: 退货退款, 3: 我要换货")
    private Integer type;

    @ApiModelProperty("售后原因(1:不喜欢/不想要, 2:与商家协商一致退款, 3:货物破损拒绝签收, 4:快递一直未送达, 5:退运费, 6:商品包装破损, 7:少发/漏发, 8:质量问题, 9:商家发错货)")
    private Integer reason;

    @ApiModelProperty("售后备注")
    private String remark;

    @ApiModelProperty("图片附件")
    private String attachImg;

    @ApiModelProperty("视频附件")
    private String attachVideo;

    @ApiModelProperty("拒绝原因")
    private String rejectReason;

    @ApiModelProperty("服务状态(0-待处理 1-退款中 2-退款成功 3-拒绝退款 4-退款失败 5-待买家发货  6-买家已发货 7-商家拒绝退货退款  8-换货完成（填写新的快递单号）9-商家拒绝换货  -1-售后取消)")
    private Integer status;

    @ApiModelProperty("服务状态名称(0-待处理 1-退款中 2-退款成功 3-拒绝退款 4-退款失败 5-待买家发货  6-买家已发货 7-商家拒绝退货退款  8-换货完成（填写新的快递单号）9-商家拒绝换货  -1-售后取消)")
    private String statusName;

    @ApiModelProperty("用户id")
    private Long userId;

    @ApiModelProperty("会员昵称")
    private String nickName;

    @ApiModelProperty("会员备注")
    private String userRemark;

    @ApiModelProperty("会员类型")
    private Long userType;

    @ApiModelProperty("会员类型名称")
    private String userTypeName;

    @ApiModelProperty("收货人, 退货/换货时有值")
    private String receiver;

    @ApiModelProperty("收货人手机号, 退货/换货时有值")
    private String receiveMobile;

    @ApiModelProperty("收货地址, 退货/换货时有值")
    private String receiveAddress;

    @ApiModelProperty("买家快递号, 退货/换货时有值")
    private String buyExpressNo;

    @ApiModelProperty("买家快递公司, 退货/换货时有值")
    private String buyExpressCompany;

    @ApiModelProperty("商家快递号, 换货时有值")
    private String merchantExpressNo;

    @ApiModelProperty("商家快递公司, 换货时有值")
    private String merchantExpressCompany;

    @ApiModelProperty("商家快递接收人姓名, 换货时有值")
    private String merchantReceiver;

    @ApiModelProperty("商家快递接收人电话, 换货时有值")
    private String merchantReceiverMobile;

    @ApiModelProperty("商家快递接收人地址, 换货时有值")
    private String merchantReceiverAddress;

    @ApiModelProperty("退款交易号, 退款时有值")
    private String refundTradeNo;

    @ApiModelProperty("退款交易信息,微信返回的信息,一般为JSON串")
    private String refundTradeInfo;

    @ApiModelProperty("退款金额")
    private Double refundAmount;

    @ApiModelProperty("退款完成时间")
    private Integer refundFinishTime;

    @ApiModelProperty("是否完成. 0:未完成, 1:已完成")
    private Integer finish;

    @ApiModelProperty("售后完成时间")
    private Integer finishTime;

    @ApiModelProperty("版本号")
    private Integer version;

    @ApiModelProperty("创建时间")
    private Integer createTime;

    @ApiModelProperty("修改时间")
    private Integer updateTime;

    @ApiModelProperty("小程序团购订单对象信息")
    private MiniOrderVo miniOrderVo;
}
